SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '580ad3e20a4089591827e834e05ca8f761cc51e0641b3bff01a98ac69685eb1e' 
  AND token = 'BAgR5EvMeNqRAtGCgOsWuTcRAgK57p8eAqxDYnaYoxU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00031

JSON explain

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