SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3373c7a3a56b7ef72ef9c36d8d30235cc0010e94ab652cce34062090e0021b8b' 
  AND token = 'zSsCjyih9mfdhClM1BqEysM2ibQ2KMu44m/hkkejFlc=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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