SELECT 
  1 
FROM 
  cscart_lock_keys 
WHERE 
  key_id = '9b315fc445fa650dfa0e46cd7519bd8b7f7985d6e1270b093454774fccea8adf' 
  AND token = 'AFesYH5ngovYOB9ElK2IbcTCxLvjBIN8lm+CMDQz+SI=' 
  AND expiry_at > UNIX_TIMESTAMP(NOW())

Query time 0.00036

JSON explain

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