SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '10a7f398de3e29c1783e37393fd34e93751bdc4d8e5e048a777aed18aa6427c5' 
  AND token = 'G7e3vF2GcQEMR8mO5+ZUgwJgTuU/mds5Xt+mzJYeoC8=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00025

JSON explain

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