SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '18d117c1154acaba68d118a9522ea79e5ee62b517b7e61cee72a6e773eef326e' 
  AND token = 'STa0tVQJFOGj6j2JSOmCFRlhJtM054AIV1yP1xidshI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

{
  "query_block": {
    "select_id": 1,
    "table": {
      "message": "Impossible WHERE noticed after reading const tables"
    }
  }
}