SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '2faa5e935db6c658dbfd673e52b826ac17df1346ae5a2b562a2333de1c0798e7' 
  AND token = 'F279LkJmyJS9qSfDWS/8c5tK8DLP+f33lrgL3y31UIY=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00048

JSON explain

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