SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '4ed134f3a9b6137454575e287f21418bb9dea316e4f82e4acb9382716ddf7878' 
  AND token = 'Hb0EtV8hqTryACyI5gkxwA4Kt2j1lYznkPcRR7Uk9x8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00042

JSON explain

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