SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'b5f8ebbdf80b58dec7a6521c827ead1705c9a1c136edf8d842a9c7355072ae79' 
  AND token = 'tzDKz8GhOw9L78XuUQyiKoFPfDyR9ApuX44J6OV4i1E=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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