SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '40e78ab41533a395b45f9151cd949b8cc80deb90d52ebca6dc29b9046da71a27' 
  AND token = 'X7Bnpyuy/VuT3ekJvKlMT9BdO2zpI80Kxu1Y6wi+Elc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00054

JSON explain

{
  "query_block": {
    "select_id": 1,
    "message": "no matching row in const table"
  }
}