SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'be9d117293981a8e2e74b8aa8ba0b4997fa08f6dd110dbe78f0291e864f334ce' 
  AND token = 'ZoexdcFc01ob5dIQyhbZGhPZAN+UjppBpXOyb9hxdE8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00016

JSON explain

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