SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '94b7a25803dada0ef03571cc45d34fde1ad98f4a5b37387077c6178e382a2b7c' 
  AND token = 'QcJWAb0V1iz8BFUnAIrfFIWLzEofdWqK0JlB7RndH9U=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00029

JSON explain

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