SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'e7845ebe65366b38c4ca0be1e337e717ef4dfa408e799127a13b0748733270f7' 
  AND token = 'iwSSdEobuHM6CqM249iP+oeT4+jBU0OaPmieRURwg2M=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00032

JSON explain

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