SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = 'a4781427db43ab64551cb2c420a65a24ee6863ccf1d1e0b3abe91cef7897a0e6' 
  AND token = 'TJ4+E3GQqYiXCeLHWF9Oe2z/F5YCmLttzw4/br8g3cU=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00018

JSON explain

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