SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'bd7459799a535e93c2d1501d6a213874facf3bdddf03ed179a55ea40df0bf791' 
  AND token = '3ttXLMwQg47PQe/IP/LBwPgPNer9fkXNwsmY8tDduwk=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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