SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'c5d28fd5309706e1bdd8d02eb68d32dcc0af7bb6e7f597c7144528781532cf2e' 
  AND token = 'ktLYnZZNx7Cw+dK9+KcvCSb5vB90dsmLHqAg+9yMuHg=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00021

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}