SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'ad8ffb868162c017198042cd3619ca2cab1e1e827b8524707f2bbece251f22db' 
  AND token = 'BGybrmAdgWkZcTJZUUYFGyn86Lfa3/Jh5thdPWuQEKo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00040

JSON explain

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