SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '249f5785b188af1d1840db1245d35c8177e84bebe5d2e64af60180d41bd30f0f' 
  AND token = 'pEwR2elU/JuPMhYifUYhOMyNEUQWRfI3l4KCgOJzMw0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00015

JSON explain

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