SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '25bddf08ee104bc046df46fe915055f35a4e03c5e5b5851cd27b1efc18ffba8f' 
  AND token = 'h2eiutN0EqlriarYudS5O1tneZqgMP8m6stw3L2og2U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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