SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '496ea21f214974023ed6fe44bddcca6078a60054b45a61799adc0aaaffaa337d' 
  AND token = 'fJbuFNk2Ib2SJCztjm1+z7HhBumDLkaFs66m8JxvOVo=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00030

JSON explain

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