SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a3e8b54375206259e4f5e75ea4d81bc885a65690ad683237752ad8de47656ab6' 
  AND token = 'yhCP3RSnMEr3/azeMsgg0XgeQwqRnqwgSs186dPJjmc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00035

JSON explain

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