SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4f0ccc13a0111b6d9cc5d97981f28b503f16a4321266df47b727350c5eecb21' 
  AND token = 'UHEZvTFEIjWOup18rzy2VVPWzr17N9ANoF0wUTbmb2E=' 
  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"
    }
  }
}