SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'f4ece5a9c0be7442419b2e0586a30432060b1aff36943bc3ad7b1225b401403e' 
  AND token = 'jXgwY5EHSgVKKTh/k2lA2Iz87Aoqkw3oYkrGRmr4mdo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00037

JSON explain

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