SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '3e3eb771315c03c500b672e6f965b6be6e934496b2e2865278d32c3cf493bf7f' 
  AND token = 'hnrFd8h3EaKw/bvQ2ySv2vMM/pmh0rWNsHNMOEJEuj0=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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